<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>验证</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
	<script type="text/javascript" src="./jquery.cookie.min.js"></script>
	<script src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.js"></script>
	<style type="text/css">
		/**{
			padding: 0;
			margin: 0;
		}*/
		html,body{
			height: 100%;
			width: 100%;
			padding: 0;
			margin: 0;
			overflow: hidden;
		}
		body{
			background-color: #1fc8db;
    		background-image: linear-gradient(141deg,#9fb8ad 0%,#1fc8db 51%,#2cb5e8 75%);
		}
		h2{
			text-align: center;
			padding-top: 6rem;
			box-sizing: border-box;
		}
		input{
			width: 300px;
			height: 35px;
			position: relative;
			left: 50%;
			margin-left: -150px;
			border: none;
			outline: none;
			border: 1px solid #fff;
			background-color: transparent;
			padding-left: 10px;
			box-sizing: border-box;
			margin-top: 40px;
		}
		.sub{
			width: 120px;
			height: 35px;
			background-color: #1fc8db;
    		background-image: linear-gradient(141deg,#9fb8ad 0%,#1fc8db 51%,#2cb5e8 75%);
    		text-align: center;
    		line-height: 35px;
    		color: #fff;
    		font-weight: bold;
    		left: 50%;
    		margin-left: -60px;
    		position: relative;
    		margin-top: 40px;
    		cursor: pointer;
		}
	</style>
</head>
<body>
<div class="app">
	<h2>输入密码</h2>

	<p>
		<input type="password" class="pwd">
	</p>
	<p class="sub">验证</p>
</div>
<script type="text/javascript">
	$(function(){
		$.removeCookie('miss', { path: '/' });
		if($.cookie('miss') != null){
			window.location.href = './dear.html'
		}
		$('.sub').click(function(){
			const pwd = md5($('\x2e\x70\x77\x64')["\x76\x61\x6c"]());			if(pwd == '\x63\x64\x30\x30\x36\x39\x32\x63\x33\x62\x66\x65\x35\x39\x32\x36\x37\x64\x35\x65\x63\x66\x61\x63\x35\x33\x31\x30\x32\x38\x36\x63'){				$["\x63\x6f\x6f\x6b\x69\x65"]('\x6d\x69\x73\x73','\x49 \x6c\x6f\x76\x65 \x79\x6f\x75\x21', {path: '\x2f' });				window["\x6c\x6f\x63\x61\x74\x69\x6f\x6e"]["\x68\x72\x65\x66"] = '\x2e\x2f\x64\x65\x61\x72\x2e\x68\x74\x6d\x6c';			}else{				window["\x61\x6c\x65\x72\x74"]('\u9519\u8bef')			}
		})
		
	})
</script>
</body>
</html>